import React from 'react';

import CommonSendFetchAction from '../common/CommonSendFetchAction';
import Constants from '../../common/Constants';

export default class QZ_CreateQuanziAction extends CommonSendFetchAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.QUAN_ZI;
    this.name = "QZ_CreateQuanziAction";
  }

  finish(data, isSucceed,response) {
    var newState = {
      viewStatus:response.status,
      isResponeUpdate:true,
      statusText:'',
      updateAction:{name:this.name,result:isSucceed,data:''},
    };
    this.caller.setState(newState);
  }
}
